package com.awccis.driver.model.order;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @Author: 纯牛奶丶
 * @Date: 2018-04-13 15:40
 * @Since: 1.0
 * @Description: 历史订单数据
 **/
@Component("historyOrderBean")
@Qualifier("historyOrderBean")
public class HistoryOrderBean {
    private Date orderFinishTime;
    private String orderTravelOnPlace;
    private String orderTravelEndPlace;
    private double price;

    public Date getOrderFinishTime() {
        return orderFinishTime;
    }
    
    public void setOrderFinishTime(Date orderFinishTime) {
        this.orderFinishTime = orderFinishTime;
    }
    
    public String getOrderTravelOnPlace() {
        return orderTravelOnPlace;
    }
    
    public void setOrderTravelOnPlace(String orderTravelOnPlace) {
        this.orderTravelOnPlace = orderTravelOnPlace;
    }
    
    public String getOrderTravelEndPlace() {
        return orderTravelEndPlace;
    }
    
    public void setOrderTravelEndPlace(String orderTravelEndPlace) {
        this.orderTravelEndPlace = orderTravelEndPlace;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "HistoryOrderBean{" +
                "orderFinishTime=" + orderFinishTime +
                ", orderTravelOnPlace='" + orderTravelOnPlace + '\'' +
                ", orderTravelEndPlace='" + orderTravelEndPlace + '\'' +
                ", price=" + price +
                '}';
    }
}
